import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { MapSDominionAuctionServiceHelper } from "./MapSDominionAuctionServiceHelper";
import { DominionId } from "./DominionId";
type int = number;
//class SDominionAuctionCity
    
    export  class SDominionAuctionCity
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.ownId.__write(arg1);
            arg1.writeInt(this.force);
            arg1.writeBool(this.isLight);
            arg1.writeLong(this.combat);
            arg1.writeInt(this.x);
            arg1.writeInt(this.y);
            arg1.writeString(this.name);
            this.auctionId.__write(arg1);
            arg1.writeLong(this.auctionCombat);
            MapSDominionAuctionServiceHelper.write(arg1, this.auctionServiceMap);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.ownId = new DominionId();
            this.ownId.__read(arg1);
            this.force = arg1.readInt();
            this.isLight = arg1.readBool();
            this.combat = arg1.readLong();
            this.x = arg1.readInt();
            this.y = arg1.readInt();
            this.name = arg1.readString();
            this.auctionId = new DominionId();
            this.auctionId.__read(arg1);
            this.auctionCombat = arg1.readLong();
            this.auctionServiceMap = MapSDominionAuctionServiceHelper.read(arg1);
            return;
        }

        public /* var */ownId: DominionId;

        public /* var */force: int;

        public /* var */isLight: Boolean;

        public /* var */combat: number;

        public /* var */x: int;

        public /* var */y: int;

        public /* var */name: string;

        public /* var */auctionId: DominionId;

        public /* var */auctionCombat: number;

        public /* var */auctionServiceMap: Map<any, any> /* flash.utils.Dictionary */;
    }
